package org.sninwo.lnbook.book.entity;

import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;
import org.sninwo.lnbook.base.hibernate.IdEntity;

@Entity
@Table(name = "original")
@Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
public class Original extends IdEntity {
	private String content;
	private Long bookId;

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Long getBookId() {
		return bookId;
	}

	public void setBookId(Long bookId) {
		this.bookId = bookId;
	}
}
